package com.wing.productionPlan.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-10-16 16:11
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProProductDeliveryOrderVo {

    private String recordNo;	//提货记录编号(生成)
    private String orderNo;	//提货订单编号(填写)
    private String orderSource;	//订单来源
    private String orderSourceName;	//订单来源name
    private String orderType;	//订单类型
    private String orderTypeName;	//订单类型name
    private Long customerId;	//客户ID
    private String customerName;	//客户name
    private String purchaseCode;	//采购组织编码
    private String purchaseName;	//采购组织名称
    private Integer skuCount; //物料数量

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTime;	//订单下单时间


    public Long id;

    protected Long version;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected LocalDateTime createTime;

    /**
     * 创建者ID
     */
    private Long creator;
    /**
     * 创建者名称
     */
    private String creatorName;

    /**
     * 是否已删除
     */
    protected Boolean isDeleted;

    /**
     * 备注
     */
    protected String remark;

}
